package com.wzk.travelspringboot.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wzk.travelspringboot.dto.ChangePasswordDTO;
import com.wzk.travelspringboot.dto.LoginDTO;
import com.wzk.travelspringboot.dto.RegisterDTO;
import com.wzk.travelspringboot.dto.Result;
import com.wzk.travelspringboot.entity.User;
import org.springframework.web.multipart.MultipartFile;

/**
 * @Author: WangZiKang
 * @Date: 2025/1/4 22:08
 */
public interface UserService extends IService<User> {
    //用户登录
    Result login(LoginDTO dto);

    Result register(RegisterDTO dto);

    Result changeAvatar(Long aLong, MultipartFile avatar);

    Result changePwd(ChangePasswordDTO dto);

    Result adminLogin(LoginDTO dto);
}
